package dao.impl;

import static org.junit.Assert.*;

import org.junit.BeforeClass;
import org.junit.Test;

import dao.MessageDao;
import domain.Message;

public class MessageDaoImplTest {
	static MessageDao messageDao=null;

	@BeforeClass
	public static void setUpBeforeClass() throws Exception {

        messageDao = new MessageDaoImpl();
         
	}

	@Test
	public void testSave() {
		 Message message = new Message("good", "contend ok");
        messageDao.save(message);
	}

}
